- unless @shop_product.new_record?
  %ul#product_attachments
    = render :partial => '/admin/shop/products/edit/shared/image', :collection => @shop_product.attachments
- else
  %p You can add images once you've created the product